﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Community.CsharpSqlite
{
    class PagerJournalMode
    {

        /*
    ** Valid values for the second argument to sqlite3PagerJournalMode().
    */
        //#define PAGER_JOURNALMODE_QUERY      -1
        //#define PAGER_JOURNALMODE_DELETE      0   /* Commit by deleting journal file */
        //#define PAGER_JOURNALMODE_PERSIST     1   /* Commit by zeroing journal header */
        //#define PAGER_JOURNALMODE_OFF         2   /* Journal omitted.  */
        //#define PAGER_JOURNALMODE_TRUNCATE    3   /* Commit by truncating journal */
        //#define PAGER_JOURNALMODE_MEMORY      4   /* In-memory journal file */
        public const int PAGER_JOURNALMODE_QUERY = -1;
        public const int PAGER_JOURNALMODE_DELETE = 0; /* Commit by deleting journal file */
        public const int PAGER_JOURNALMODE_PERSIST = 1; /* Commit by zeroing journal header */
        public const int PAGER_JOURNALMODE_OFF = 2; /* Journal omitted.  */
        public const int PAGER_JOURNALMODE_TRUNCATE = 3; /* Commit by truncating journal */
        public const int PAGER_JOURNALMODE_MEMORY = 4; /* In-memory journal file */

    }
}
